package com.luck.app.page;

import android.os.Bundle;
import android.view.WindowManager;

import androidx.fragment.app.FragmentActivity;

import com.luck.app.page.when_page.GuideFrameLayout;

public class GuideActivity extends FragmentActivity {

    private GuideFrameLayout contentFrameLayout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide);
        contentFrameLayout = (GuideFrameLayout) findViewById(R.id.contentFrameLayout);
        // 设置资源文件和选中圆点
        contentFrameLayout.setUpViews(new int[]{
                R.layout.layout_guide_tab1,
                R.layout.layout_guide_tab2,
                R.layout.layout_guide_tab3
        }, R.mipmap.banner_on, R.mipmap.banner_off);
    }
}